using System;
using Gdk;
using JmShared;

namespace JiveMessengerLinux
{
	public delegate void WriteMessageEventHandler(object sender, WriteMessageEventArgs e);
	public delegate void ClosePMEventHandler(object sender, ClosePMEventArgs e);

	public delegate void LogFileDeletedEventHandler(object sender, LogFileDeletedEventArgs e);
	public class ClosePMEventArgs : EventArgs
	{
		public UserInfo User { get; set; }
		public ClosePMEventArgs(UserInfo user) : base() { this.User = user; }
		public ClosePMEventArgs(object source, UserInfo user) : base() { this.User = user; }
	}
	public class LogFileDeletedEventArgs : EventArgs
	{
		public string LogFile { get; set; }
		public LogFileDeletedEventArgs(string logFile) : base() { this.LogFile = logFile; }
		public LogFileDeletedEventArgs(object source, string logFile) : base() { this.LogFile = logFile; }
	}
	public class WriteMessageEventArgs : EventArgs
	{
		public ChatMessage Message { get; set; }
		public WriteMessageEventArgs(ChatMessage message) : base() { this.Message = message; }
		public WriteMessageEventArgs(object source, ChatMessage message) : base() { this.Message = message; }
	}

    public class EmoticonClickedEventArgs : EventArgs
    {
        public string EmoticonShortcut { get; set; }

        public EmoticonClickedEventArgs(string str) : base(){this.EmoticonShortcut = str;}
         EmoticonClickedEventArgs(object source,string str) : base() { this.EmoticonShortcut = str; }

    }

}

